﻿/* ============================== 
 * 全局程序集信息 
 * GlobalAssemblyInfo.cs 
 *  
 * 请把此文件引用到其他的项目中,使用添加链接的方式引用 
 ==============================*/

using System.Reflection;
using System.Resources;


[assembly: AssemblyCompany("CXW")]

[assembly: AssemblyCopyright("2017 CXW. All Rights Reserved.")]
[assembly: AssemblyVersion(RevisionClass.Major + "." + RevisionClass.Minor + "." + RevisionClass.Build + "." + RevisionClass.Revision)]
[assembly: AssemblyInformationalVersion(RevisionClass.FullVersion)]
[assembly: NeutralResourcesLanguage("en-US")]

[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2243:AttributeStringLiteralsShouldParseCorrectly",
    Justification = "AssemblyInformationalVersion does not need to be a parsable version")]

internal static class RevisionClass
{
    public const string Major = "1";
    public const string Minor = "0";
    public const string Build = "0";
    public const string Revision = "0";
    public const string VersionName = ""; // "" is not valid for no version name, you have to use null if you don't want a version name (eg "Beta 1")

    public const string FullVersion = Major + "." + Minor + "." + Build + "." + Revision + VersionName;
}

/* 
 
其他程序集的AssemblyInfo.cs
 * 删除相同属性，如AssemblyCompany、AssemblyProduct等
 * 简化如下内容，所有信息数据单独填写 
 
using System; 
using System.Reflection; 
using System.Runtime.CompilerServices; 
using System.Runtime.InteropServices; 
 
[assembly: AssemblyCompany("")] 
[assembly: AssemblyCopyright("Copyright ©  2017")] 
[assembly: AssemblyFileVersion("1.0.0.0")]


 
[assembly: CLSCompliant(true)] 
[assembly: StringFreezing()] 
*/
